-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Merged by Bors] - Fix the windows build artifacts name #6351
Conversation
- If the GOOS is equal to windows will force the value of EXE = .exe - Fix the windows build output
bors merge |
## Motivation Fix the windows build output
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #6351 +/- ##
=======================================
Coverage 81.7% 81.7%
=======================================
Files 312 312
Lines 34657 34657
=======================================
+ Hits 28328 28348 +20
+ Misses 4492 4475 -17
+ Partials 1837 1834 -3 ☔ View full report in Codecov by Sentry. |
Build failed: |
bors merge |
## Motivation Fix the windows build output
@@ -27,6 +27,7 @@ ifeq ($(GOOS),windows) | |||
platform := windows | |||
export PATH := $(PATH):$(BIN_DIR) | |||
CGO_LDFLAGS := $(CGO_LDFLAGS) -Wl,-Bstatic -lpthread -Wl,-Bdynamic | |||
EXE := .exe |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed this from this file because it was not used anywhere and I didn't notice it's used in the Makefile that includes it. For this reason, in my opinion, EXE
should be defined in the Makefile which uses it, not in this one.
Pull request successfully merged into develop. Build succeeded: |
## Motivation Follow up for #6351: variables used in the makefile should be defined where they are used if possible. Specifically I moved `EXE` and `ULIMIT` from `Makefile-libs.Inc` to `Makefile`.
## Motivation Follow up for #6351: variables used in the makefile should be defined where they are used if possible. Specifically I moved `EXE` and `ULIMIT` from `Makefile-libs.Inc` to `Makefile`.
## Motivation Follow up for #6351: variables used in the makefile should be defined where they are used if possible. Specifically I moved `EXE` and `ULIMIT` from `Makefile-libs.Inc` to `Makefile`.
Motivation
Fix the windows build output
Description
Add on the Makefile-libs.Inc the EXE := .exe
If the GOOS is equal to windows will force the value of EXE = .exe
Test Plan
Check on the release if the .exe was added on the artifacts.
I tested the behavior on other Github Repo.
TODO